<template>
  <div class="vip-tip">
      <div class="item-img" v-bind:style="{backgroundImage:'url('+thumb+')'}"></div>
      <div class="item-content">
          <div class="item-name">{{name}}</div>
          <span class="item-desc">{{desc}}</span>
      </div>
  </div>
</template>

<script>
export default {
  name: 'vip-tip',
  comments: 'vip-tip',
  props: {
    tipId: String,
    thumb: String,
    name: String,
    desc: String,
    url: String
  },
  data () {
    return {
    }
  },
  methods: {
  }
}
</script>
<style lang="postcss" scoped>
.vip-tip{
    height: 80px;
    width: 100%;
    background-color: #f8f8f8;
    position: relative;
    border-bottom: 1px solid #f8f8f8;;
    overflow: hidden;
}
.item-img{
    height: 60px;
    width: 60px;
    position: absolute;
    border-radius: 50%;
    background-repeat: no-repea;
    background-size: 100%;
    left: 10px;
    top: 10px;
}
.item-content{
    position: absolute;
    top: 0px;
    left: 95px;
    text-align: left;
    height: 100%;
    color: #f8f8f8;
}
.item-name{
    margin-top: 10px;
    font-weight: bold;
}
.item-desc{
    font-size: 0.8rem;
    text-align: left;
    margin-top: 0px;
    color: #f8f8f8;
}
</style>
